// 封装一个自己的组件库
// 要求导出一个对象
import PageTools from '@/components/PageTools'
import UploadExcel from '@/components/UploadExcel'
import ImageUpload from '@/components/ImageUpload'
import ScreenFull from '@/components/ScreenFull'
import ThemePicker from '@/components/ThemePicker'
import LangSwitcher from '@/components/LangSwitcher'
import TagsView from '@/components/TagsView'
export default {
  install(Vue) {
    console.log('这是第三方组件的安装方法')
    console.log('每当调用 Vue.use 的时候自动执行')
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)
    Vue.component('ScreenFull', ScreenFull)
    Vue.component('ThemePicker', ThemePicker)
    Vue.component('LangSwitcher', LangSwitcher)
    Vue.component('TagsView', TagsView)
  }
}
